const joi = require('@hapi/joi')

const author = joi.string().required()
const id = joi.number().integer().min(1).required()

exports.add_notice_schema = {
  body: {
    author
  },
}

exports.delete_notice_schema = {
  body: { 
    id
  }
}